import request from "@/utils/request";

// 查询微信转账到用户零钱列表
export function listBizWxPayUser(query){
  return request({
    url: "/biz/bizWxPayUser/list",
    method: "get",
    params: query
  })
}

// 查询微信转账到用户零钱详细
export function getBizWxPayUser(id){
  return request({
    url: "/biz/bizWxPayUser/" + id,
    method: "get"
  })
}

// 新增微信转账到用户零钱
export function addBizWxPayUser(data){
  return request({
    url: "/biz/bizWxPayUser",
    method: "post",
    data: data
  })
}

// 修改微信转账到用户零钱
export function updateBizWxPayUser(data){
  return request({
    url: "/biz/bizWxPayUser",
    method: "put",
    data: data
  })
}

// 删除微信转账到用户零钱
export function delBizWxPayUser(id){
  return request({
    url: "/biz/bizWxPayUser/" + id,
    method: "delete"
  })
}

// 查询最大编号
export function findMaxSort(){
  return request({
    url: "/biz/bizWxPayUser/findMaxSort",
    method: "get"
  })
}
// 导出微信转账到用户零钱
export function exportBizWxPayUser (query){
  return request({
    url: "/biz/bizWxPayUser/export",
    method: "get",
    params: query
  })
}
